<?php
//---------------------------------------------------------
//               Buddha Bless, No Bug !
//         User: wuxuehai Date: 2018/8/21 Time: 下午6:05
//---------------------------------------------------------
namespace common\job;

use yii\base\BaseObject;
use yii\queue\JobInterface;
class QueueJob extends BaseObject implements JobInterface
{
    public $handle;
    public $param;

    public function execute($queue)
    {
        echo "收到队列消息:handle->{$this->handle},param->{$this->param}". PHP_EOL;

    }
}